package com.UdpRecieve.secret.model;

/**
 * sbr密级标志参数对照表
 */
public class SBR_Parameter_Table {

    //文件密级
    public static String getLevel(String level) {
        switch (level){
            case "0":
                return "未加标";
            case "10":
                return "公开";//国秘公开
            case "11":
                return "商秘公开";
            case "20":
                return "内部";//国密内部
            case "21":
                return "商密内部";
            case "50":
                return "普通商密";
            case "80":
                return "核心商密";
            case "120":
                return "秘密";
            case "150":
                return "机密";
            case "180":
                return "绝密";
            default:
                return "无";
        }
    }
    //管理状态
    public static String getStatus(String status) {
        switch(status){
            case "0":
                return "未管理";
            case "20":
                return "忽略";
            case "50":
                return "预定密";
            case "80":
                return "正式定密";
            case "110":
                return "文件签发";
            case "140":
                return "密级变更";
            case "170":
                return "文件解密";
            default:
                return "无";
        }
    }
}
